#include "stdafx.h"
#include "ImageProcessing.h"

//#define VERBOSE



void mexPrintMatrix(arma::mat m, char* text) {	
	mexPrintf("%s\n", text);
	if (m.n_elem == 0) mexPrintf("empty\n");
	for (int i = 0; i < m.n_rows; i++) {
		for (int j = 0; j < m.n_cols; j++ ) {
			mexPrintf("%3.7f\t", m(i,j));
		}
		mexPrintf("\n");
	}
}